package com.wanmait.schedule.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 班级类型
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@Accessors(chain = true)
@TableName("classes_type")
public class ClassesType {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String typeName;

    /**
     * 说明
     */
    private String info;

    /**
     * 录入人
     */
    private Integer inputId;

    /**
     * 录入时间
     */
    private LocalDateTime inputTime;

    /**
     * 假删除
     */
    @TableLogic
    private Boolean enable;

    /**
     * 排序
     */
    private Integer sort;

    @TableField(exist = false)
    private Teacher teacher;
}
